﻿namespace YnabCsvConverter.Core
{
   using System;

   /// <summary>
   /// Attribute for Name of Converter.
   /// </summary>
   [System.AttributeUsage(System.AttributeTargets.Class)]
   public class ConverterNameAttribute : Attribute
   {
      /// <summary>
      /// Initializes a new instance of the <see cref="ConverterNameAttribute" /> class.
      /// </summary>
      /// <param name="name">The name.</param>
      public ConverterNameAttribute(string name)
      {
         Name = name;
      }

      /// <summary>
      /// Gets or sets the name.
      /// </summary>
      /// <value>
      /// The name.
      /// </value>
      public string Name { get; set; }
   }
}
